package com.siyuanren.gcocp.dto;

import com.siyuanren.gcocp.consts.GcocpConsts;
import com.siyuanren.gcocp.entity.WxCourseCategory;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * Created by   anxing
 * Project_name gcocp-parent
 * Path         com.siyuanren.gcocp.dto
 * Date         2018/4/27
 * Time         10:59
 * Description 课程分类dto
 */
@Setter
@Getter
public class WxCategoryDTO extends WxCourseCategory {
    List<WxCourseDTO> courses;
    public String getImg() {
        return GcocpConsts.RESOURCE_WEB + super.getImg();
    }
}
